﻿<frame:CFrame x:Class="VAdvantage.Print.Viewer" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                 xmlns:frame="clr-namespace:VAdvantage.Apps"
                 xmlns:provider="clr-namespace:SilverlightDesktop.Controls;assembly=SilverlightDesktop"
           Title="Viewer" xmlns:my="clr-namespace:VAdvantage.Controls" 
              xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my1="clr-namespace:VAdvantage.Panels" Height="407" Width="804" Loaded="CFrame_Loaded" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" Foreground="Black">
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="520*" />
            <RowDefinition Height="0*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <ScrollViewer Margin="0,27,0,0" Name="reportViewer1" Loaded="reportViewer1_Loaded" Background="#FF9A9A9A">
            <toolkit:BusyIndicator Height="50" IsTabStop="False" Name="busyIndicator1" Width="100" Loaded="busyIndicator1_Loaded" />
        </ScrollViewer>
        <StackPanel Height="27" Name="stackPanel1" Orientation="Horizontal" VerticalAlignment="Top" Background="#FFFFFCFC">
            <Image Height="24" ImageFailed="bPrev_ImageFailed" MouseLeftButtonUp="bPrev_MouseLeftButtonUp" Name="bPrev" Source="/VAdvantage;component/Images/Previous32.png" Stretch="Fill" Width="51" />
            <TextBox Height="24" IsReadOnly="True" Name="txtPage" Width="51" />
            <Image Height="24" MouseLeftButtonUp="bNext_MouseLeftButtonUp" Name="bNext" Source="/VAdvantage;component/Images/Next32.png" Stretch="Fill" Width="51" />
            <ComboBox Height="24" Name="comboReport" SelectionChanged="comboReport_SelectionChanged" Width="203" />
            <Button Click="bGo_Click" Content="Show" Height="24" Name="bGo" Width="51" />
            <Image Height="24" ImageFailed="bPrint_ImageFailed" MouseLeftButtonUp="bPrint_MouseLeftButtonUp" Name="bPrint" Source="/VAdvantage;component/Images/Print32.png" Stretch="Fill" Width="51" />
            <Image Height="24" ImageFailed="bExit_ImageFailed" MouseLeftButtonUp="bExit_MouseLeftButtonUp" Name="bExit" Source="/VAdvantage;component/Images/Ignore22.png" Stretch="Fill" Width="51" />
            <Image Height="24" Name="bFind" Source="/VAdvantage;component/Images/Find32.png" Stretch="Fill" Width="51" MouseLeftButtonUp="bFind_MouseLeftButtonUp" />
        </StackPanel>

        <my:VStatusBar x:Name="reportStatus" Grid.Row="2" Margin="-1,0,1,0" />
    </Grid>
</frame:CFrame>